import request from "@/utils/request";

// 查询账户交易信息列表
export function listBizAccountLog(query) {
  return request({
    url: "/biz/bizAccountLog/list",
    method: "get",
    params: query,
  });
}

// 查询账户交易信息详细
export function getBizAccountLog(id) {
  return request({
    url: "/biz/bizAccountLog/" + id,
    method: "get",
  });
}

// 新增账户交易信息
export function addBizAccountLog(data) {
  return request({
    url: "/biz/bizAccountLog",
    method: "post",
    data: data,
  });
}

// 修改账户交易信息
export function updateBizAccountLog(data) {
  return request({
    url: "/biz/bizAccountLog",
    method: "put",
    data: data,
  });
}

// 删除账户交易信息
export function delBizAccountLog(id) {
  return request({
    url: "/biz/bizAccountLog/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizAccountLog/findMaxSort",
    method: "get",
  });
}
// 导出账户交易信息
export function exportBizAccountLog(query) {
  return request({
    url: "/biz/bizAccountLog/export",
    method: "get",
    params: query,
  });
}
